package com.ruoyi.funding.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报销记录对象 reimbursement
 * 
 * @author ycl
 * @date 2025-01-06
 */
public class Reimbursement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销id */
    private Long reimbursementId;

    /** 科研经费id */
    @Excel(name = "科研经费id")
    private Long fundingId;

    /** 报销金额 */
    @Excel(name = "报销金额")
    private BigDecimal reimbursementAmount;

    /** 报销日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reimbursementDate;

    /** 报销类型 */
    @Excel(name = "报销类型")
    private String reimbursementType;

    /** 报销描述 */
    @Excel(name = "报销描述")
    private String description;

    /** 报销人 */
    @Excel(name = "报销人")
    private Long reimbursedBy;

    /** 报销审批状态 */
    @Excel(name = "报销审批状态")
    private Integer status;

    /** 实例id */
    @Excel(name = "实例id")
    private Long flowInstantId;

    /** 报销文件 */
    @Excel(name = "报销文件")
    private String files;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记（0-未删除（默认），1-已删除） */
    private Integer delFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;



    /** 科研人员姓名 */
    @Excel(name = "科研人员姓名")
    private String researcherName;

    public String getResearcherName() {
        return researcherName;
    }

    public void setResearcherName(String researcherName) {
        this.researcherName = researcherName;
    }

    public void setReimbursementId(Long reimbursementId)
    {
        this.reimbursementId = reimbursementId;
    }

    public Long getReimbursementId() 
    {
        return reimbursementId;
    }
    public void setFundingId(Long fundingId) 
    {
        this.fundingId = fundingId;
    }

    public Long getFundingId() 
    {
        return fundingId;
    }
    public void setReimbursementAmount(BigDecimal reimbursementAmount) 
    {
        this.reimbursementAmount = reimbursementAmount;
    }

    public BigDecimal getReimbursementAmount() 
    {
        return reimbursementAmount;
    }
    public void setReimbursementDate(Date reimbursementDate) 
    {
        this.reimbursementDate = reimbursementDate;
    }

    public Date getReimbursementDate() 
    {
        return reimbursementDate;
    }
    public void setReimbursementType(String reimbursementType) 
    {
        this.reimbursementType = reimbursementType;
    }

    public String getReimbursementType() 
    {
        return reimbursementType;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setReimbursedBy(Long reimbursedBy) 
    {
        this.reimbursedBy = reimbursedBy;
    }

    public Long getReimbursedBy() 
    {
        return reimbursedBy;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setFlowInstantId(Long flowInstantId) 
    {
        this.flowInstantId = flowInstantId;
    }

    public Long getFlowInstantId() 
    {
        return flowInstantId;
    }
    public void setFiles(String files) 
    {
        this.files = files;
    }

    public String getFiles() 
    {
        return files;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reimbursementId", getReimbursementId())
            .append("fundingId", getFundingId())
            .append("reimbursementAmount", getReimbursementAmount())
            .append("reimbursementDate", getReimbursementDate())
            .append("reimbursementType", getReimbursementType())
            .append("description", getDescription())
            .append("reimbursedBy", getReimbursedBy())
            .append("status", getStatus())
            .append("flowInstantId", getFlowInstantId())
            .append("files", getFiles())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .toString();
    }
}
